/* ===[ RESET ]=== */
@import "partials/reset";

/* ===[ SVG ]=== */
@import "partials/svg";



/* ===[ COLORS ]=== */
$fontColor 		: #000000 !default;
$font_7 		: #7f8c8d !default;
$blue 			: #5bc3d1 !default;
$blue_2 		: #006ab4 !default;
$blue_e 		: #ecf0f1 !default;
$blue_b 		: #bcc4c8 !default;
$blue_9 		: #9ba1b1 !default;
$blue_7 		: #7a8297 !default;
$orange 		: #ff6633 !default;
$red			: #ff0000 !default;
$green			: #5cb85c !default;
$gray_f5		: #f5f5f5 !default;

/* ===[ SIZES ]=== */
$large_font : 2rem !default; 
$medium_font : 1.5rem !default;
$regular_font : 1rem !default;
$small_font : .75rem !default;

$font : "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;


/* ===[ BOOTSTRAO V.3.3.6 ]=== */
// Core variables and mixins
@import "bootstrap/variables";
@import "bootstrap/mixins";

// Core CSS
/*
@import "bootstrap/scaffolding";
@import "bootstrap/type";
@import "bootstrap/code";
@import "bootstrap/grid";
*/
@import "bootstrap/tables";
@import "bootstrap/forms";
@import "bootstrap/buttons";


//@import "bootstrap/component-animations";
@import "bootstrap/dropdowns";
@import "bootstrap/button-groups";
@import "bootstrap/input-groups";
@import "bootstrap/navs";
@import "bootstrap/navbar";
@import "bootstrap/breadcrumbs";
@import "bootstrap/pagination";
@import "bootstrap/pager";
@import "bootstrap/labels";
//@import "bootstrap/badges";
//@import "bootstrap/jumbotron";
@import "bootstrap/thumbnails";
@import "bootstrap/alerts";
@import "bootstrap/progress-bars";
//@import "bootstrap/media";
//@import "bootstrap/list-group";
//@import "bootstrap/panels";
//@import "bootstrap/responsive-embed";
//@import "bootstrap/wells";
@import "bootstrap/close";

// Components w/ JavaScript
@import "bootstrap/modals";
@import "bootstrap/tooltip";
@import "bootstrap/popovers";
@import "bootstrap/carousel";


/*
// Utility classes
@import "bootstrap/utilities";
@import "bootstrap/responsive-utilities";
*/

@mixin cssArrow($color: #000, $regular_font: 8px, $d: bottom) {
	&:after { 
		border: solid transparent; 
		content: " "; 
		height: 0; 
		width: 0; 
		position: absolute; 
		pointer-events: none; 
		border-color: rgba(0, 0, 0, 0); 
		border-#{$d}-color: $color; 
		border-width: $regular_font; 
	}
}

@mixin miniForm() {

	input[type="tel"],
	input[type="email"],
	input[type="text"] {
		width: 100%;
		padding: 0 10px;
		height: 30px;
		box-sizing: border-box;
	}
	
	.ui-select-item .ui-select {
		height: 32px;
		line-height: 30px;
		padding-left: 10px;
		padding-right: 10px;
	}

	.input-group {
		input {
			padding-left: 0;
			border-left-width: 0;
		}
		
		&.icon-on-right {
			input {
				padding-left: 10px;
				border-left-width: 1px;
				border-right-width: 0;
			}
			
			.input-group-addon {
				border-right-width: 1px;
			}
		}
	}

	.input-group-addon {
		background-color: #fff;
		position: relative;
		height: 30px;
		width: 30px;
		box-sizing: border-box;
		border-right-width: 0;

		.js-svg {
			width: 16px;
			height: 16px;
			position: absolute;
			left: 50%;
			top: 50%;
			margin: -8px 0 0 -8px;
		}
	}
}

.css-arrow-bottom {
	@include cssArrow($blue , 5px, top);
}

/********* Base */
html {
	font-size: 14px;
	-webkit-overflow-scrolling: touch;
	-webkit-tap-highlight-color: transparent;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	height: 100%;
}

html body {
	font-family: $font;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale; 
	color: $gray;
	background-color: #f9fff9;
	height: 100%;
	line-height: 1.3;
}


button, input, select, textarea {
	font-family: $font;
	color: $gray;
	font-size: $regular_font;
	line-height: 1.3;
}

::-moz-selection {
	background: $blue;
	text-shadow: none;
	color: #fff;
}

::selection {
	background: $blue;
	text-shadow: none;
	color: #fff;
}

textarea:focus, input:focus, *:focus{
	outline: 0;
}
 
/********* Links */
.modal-link,
a {
	outline:none; 
	color: $blue_2;
	cursor: pointer;
	text-decoration:none;
	// transition: color 0.3s linear;
	// -webkit-transition: color 0.3s linear;
}

.modal-link:hover,
a:hover {
	text-decoration: none; 
	color: $blue;
}
/*
a:visited {
	color: inherit;
}

a:focus,
a:active {
	outline: 0; 
	color: inherit;
}
*/

/********* Clear Style */
.clear {clear: both;display: block;overflow: hidden;visibility: hidden;width: 0;height: 0;}
.clearfix:before,.clearfix:after{content: '.';display: block;overflow: hidden;visibility: hidden;font-size: 0;line-height: 0;width: 0;height: 0;}
.clearfix:after{clear:both;}
.clearfix{zoom:1;}

i,
em {
	font-style: normal;
}

h1, h2, h3, h4, h5, strong, b, label {
	font-weight: normal;
}

h1 {
	line-height: 1;
}

.form-control {
	width: calc(100% - 26px);
}

.btn-lg {
	padding: 0 1rem;
	line-height: 46px;
	height: 46px;
	border-radius: 4px;
	font-size: 1.25rem;
}

.modal-body {
	.close {
		position: absolute;
		right: 5px;
		top: 0;
	}
}

.hr {
	clear: both;
	width: 100%;
	height: 1px;
	display: block;
	background-color: $blue_e;

	&-margin {
		clear: both;
		width: 100%;
		display: block;
		
		&.hr-10 {
			height: 10px;
		}

		&.hr-20 {
			height: 20px;
		}

		&.hr-30 {
			height: 30px;
		}

	}
}

/***** Layout Styles *****/
.wrap {
	position: relative;
	box-sizing: border-box;
	min-height: 100%;
	padding-bottom: 30px;
	display: flex;
	flex-direction: column;
	justify-content:flex-start;
	align-content:flex-start;
	align-items: center;
}

.help-block {
	white-space:nowrap;
	font-size: 12px;
}

.container,
.ajax-container {
	flex: 1;
	display: flex;
	// flex-direction: column;
	// justify-content:flex-start;
	// align-content:flex-start;
	// align-items: flex-start;
}

.center,
.login .wrap,
.forget .wrap {
	display: flex;
	justify-content:center;
	align-content:center;
	align-items: center;
	padding: 0;
}

.login-content {
	width: 400px;
	padding-bottom: 5rem;


	& > header {
		text-align: center;

		img {
			display: block;
			margin: 0 auto 30px;
		}
	}

	.form {
		padding: 50px;
		width: 300px;
		box-shadow: 0 0 8px rgba(#000, .1);
		background: #fff;
		border-radius: 3px;
		
		.form-group {
			margin-bottom: .5rem;
		}

		input {
			border-left: none;
			padding-left: 0;
			padding-right: 0;
			box-shadow: none !important;
			border-radius: 0 4px 4px 0 !important;
		}
	}

	.checkbox {
		font-size: .85rem;
		color: $font_7;

		.ui-checkbox1 {
			top: 4px;
			margin-right: 3px;
		}

		a {
			float: right;
			position: relative;
			top: 3px;
		}
	}

	.input-group-addon {
		background-color: #fff;
		padding-right: 15px;
		position: relative;
		

		.js-svg {
			width: 24px;
			height: 24px;
			fill: $blue_b;
		}
	}

	.help-block {
		// position: absolute;
		// left: 100%;
		// margin: 1rem 0 0 1rem;
		display: none !important;
	}

	.btn {
		padding: 0;
		line-height: 46px;
		height: 46px;
		border-radius: 4px;
		margin: 2rem 0 0;
		font-size: 1.25rem;
	}
}

.input-group-addon {
	.js-svg {
		fill: $blue_b;
	}
}

.has-error.input-group {
	input,
	.input-group-addon {
		border-color: $orange !important;

		.js-svg {
			fill: $orange !important;
		}
	}
}

.has-success.input-group {
	input,
	.input-group-addon {
		border-color: $green !important;

		.js-svg {
			fill: $green !important;
		}
	}
}

.input-group.focus {
	input,
	.input-group-addon {
		border-color: $blue;

		.js-svg {
			fill: $blue;
		}
	}
}

.forget-content {
	width: 600px;
	background-color: #fff;
	border-radius: 10px;
	text-align: center;
	overflow: hidden;

	& > header {
		height: 60px;
		padding: 0 1rem;
		font-size: 1.25rem;
		color: #fff;
		background-color: $blue;

		.logo {
			float: left;
			margin-right: 1rem;
			margin-top: 20px;
		}

		h1 {
			float: left;
			line-height: 60px;
			height: 60px;
		}
	}

	.form {
		padding: 5rem 7.5rem 7.5rem 7.5rem;

		p {
			font-size: .75rem;
			text-align: center;
		}

		h2 {
			font-size: 1.5rem;
			padding: 1rem 0;
			text-align: center;
		}

		input {
			text-align: center;
		}

		.btn-col {
			padding: 1rem 0 0;
			text-align: center;

			.btn-info {
				min-width: 120px;
				text-align: center;
			}

			.btn-default {
				border: 1px solid $blue	!important;
				background-color: #fff !important;
				color: $blue !important;
			}
		}

		.login-col {
			padding: 2rem 0 0;
			position: relative;
			bottom: -2.5rem;
			text-align: center;
		}
	}
}

/*
.content {
	padding: 120px	0 0;
	width: 100%;
	min-height: calc(100vh - 190px);
	overflow: hidden;
	max-width: 1200px;
	margin: 0 auto;
}
*/

$minWidth : 1300px;
$maxWidth : 900px;

/********* Header */
.header {
	height: 80px;
	width: 90%;
	max-width: $minWidth;
	min-width: $maxWidth;
	display: block;
	margin: 0 60px;
	position: relative;

	.logo {
		float: left;
		margin: 30px 0 0 0;
		position: relative;

		& > a {
			display: inline-block;
			height: 20px;
			line-height: 20px;
			position: relative;
			
			& > label {
				color: $blue;
				font-size: 18px;
				cursor: pointer;
				//font-weight: bold;
				margin: 0;
			}

			.css-arrow-bottom {
				position: absolute;
				left: 100%;
				margin-left: 10px;
				top: 8px;
			}
		}
		
		.dropdown-menu {
			left: 50%;
			max-width: 122px;
			min-width: 122px;
			margin-left: -50px;
			top: 36px;

			.divider {
				margin: 6px 0;
			}
		}
	}

	.navi {
		float: left;
		margin: 30px 0 0 0;
		height: 20px;
		line-height: 20px;
		padding-left: 30px;

		ul ,
		li {
			float: left;
		}

		li {
			margin-left: 40px;

			a {
				color: $blue_b;
				font-size: 16px;

				&:hover {
					text-shadow: 1px 1px 1px rgba(#000 ,.23);
				}
			}

			&.current a {
				color: $gray;
				//font-weight: bold;
			}
		}
	}

	.right-side {
		position: absolute;
		right: 0;
		top: 30px;

		.news {
			float: left;
			margin-right: 30px;

			a {
				color: #fff;
				display: block;
				height: 30px;
				width: 30px;
				top: -5px;
				position: relative;

				&:before {
					position: absolute;
					left: 0100%;
					top: 0100%;
					width: 100%;
					height: 100%;
					content: '';
					z-index: 9;
				}

				label {
					height: 18px;
					font-size: 12px;
					min-width: 18px;
					line-height: 18px;
					box-sizing: border-box;
					padding: 0 3px;
					border-radius: 18px;
					text-align: center;
					position: absolute;
					right: -4px;
					top: -1px;
					font-weight: bold;
					background-color: $orange;
				}

				&:hover {
					.js-svg {
						fill: $orange;
					}
				}
			}

			.js-svg {
				fill: $blue_7;
				height: 30px;
				width: 30px;
			}
		}


		.settings {
			float: left;
			display: block;

			& > .button {
				display: block;
				float: left;
				cursor: pointer;
				margin-right: 20px;
				
				.css-arrow-bottom {
					position: absolute;
					right: 10px;
					top: 8px;
					
					&:after {
						border-top-color : $blue_7;
					}
				}

				&:hover {
					.css-arrow-bottom {
						&:after {
							border-top-color : $blue;
						}
					}
				}
			}

			.avatar {
				height: 40px;
				width: 40px;
				border-radius: 40px;
				overflow: hidden;
				display: block;
				float: left;
				position: relative;
				top: -10px;
				cursor: pointer;

				img {
					height: 100%;
					width: 100%;
					display: block;
				}
			}

			&.open {
				.avatar {
					background: #000;

					img {
						opacity: .65;
					}
				}
				
				& > .button {
					.css-arrow-bottom {
						&:after {
							border-top-color : $blue;
						}
					}
				}
			}
		}

		.dropdown-menu {
			left: 50%;
			max-width: 120px;
			min-width: 120px;
			margin-left: -70px;

			.divider {
				margin: 6px 0;
			}
		}
	}
}

.arrow {
	position: relative;
	height: 12px;
	width: 12px;
	display: inline-block;
	margin-left: .5rem;

	.js-svg {
		position: absolute;
		height: 10px;
		width: 10px;
		fill: $blue_7;
	}

	&-bottom .js-svg {
		-webkit-transform: translate3d(0, 0, 0) rotate(-90deg);
		transform: translate3d(0, 0, 0) rotate(-90deg);
	}

	&-right .js-svg {
		-webkit-transform: translate3d(0, 0, 0) rotate(-180deg);
		transform: translate3d(0, 0, 0) rotate(-180deg);
	}

	&-top .js-svg {
		-webkit-transform: translate3d(0, 0, 0) rotate(90deg);
		transform: translate3d(0, 0, 0) rotate(90deg);
	}
}

.container {
	max-width: $minWidth;
	min-width: $maxWidth;
	width: 90%;
	display: flex;
	margin: 0 60px;
	background-color: #fff;
	box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.1);
}

/********* SIDEBAR */
img.js-svg {
	opacity: 0 !important;
}

.sidebar {
	width: 180px;
	border-right: 2px solid $blue_e;
	box-sizing: border-box;

	.menu {
		padding: 30px 0;
		text-align: center;

		h2 {
			padding: 0 30px 12px;
			position: relative;
			color: $blue_b;

			.js-svg {
				position: absolute;
				height: 18px;
				width: 18px;
				top: 0;
				margin-left: -26px;
				fill: $blue_b;
			}
		}

		ul {
			padding: 0 0 15px;
		}

		li {
			padding: 3px 0;

			a {
				display: block;
				padding: 8px 30px;
				color: $gray;
				
				&:hover {
					color: $blue;
				}
			}

			&.current a {
				background-color: $blue;
				color: #fff;
			}
		}
	}
}



/********* Content/List */
.full-content {
	padding: 45px;
	width: 100%;
	box-sizing: border-box;

	.nav-tabs {
		position: relative;
		margin-left: -45px;
		margin-right: -45px;

		& > li > a {
			padding-left: 45px;
			padding-right: 45px;
		}
	}
}

.content {
	flex: 1;
	padding: 30px;
}


.page-header {
	padding: 0 0 45px;
	font-size: 1.5rem;
	line-height: 1;
	font-weight: bold;
}

.section-heading {
	padding: 0 0 15px 0;
	border-bottom: 2px solid $blue_e;
	font-size: 16px;
	line-height: 1;
	font-weight: bold;
}

.user-info-content {
	.item {
		margin: 30px 0;
	}

	.title {
		font-size: 1.25rem;
		font-weight: bold;
		padding: 15px 0;
		line-height: 1;
		border-top: 1px solid $blue_e;
		border-bottom: 1px solid $blue_e;


		a {
			float: right;
			font-weight: normal;
			font-size: 1rem;
		}
	}

	ul {
		li {
			padding: 30px 0 0;
			line-height: 1;

			.for {
				display: inline-block;
				width: 25%;
			}

			.links {
				float: right;

				a {
					color: $gray;
					padding-left: 1rem;

					&:hover {
						color: $blue;
					}
				}
			}
		}
	}

	.user-card {
		position: relative;
		min-height: 80px;
		padding-left: 120px;

		h2 {
			font-size: 1.5rem;
		}

		.email {
			margin: .5rem 0;
		}

		img {
			position: absolute;
			left: 0;
			top: 50%;
			margin: -40px 0 0;
			height: 80px;
			width: 80px;
		}
	}
}

.create-account-content {
	.step-progress {
		width: 600px;
		margin: 2rem auto 3rem auto;
	}

	.page-1,
	.page-2,
	.page-3,
	.page-4,
	.page-5,
	&.current-step-5 .step-progress {
		display: none;
	}

	&.current-step-1 .page-1 {
		display: block;
	}

	&.current-step-2 .page-2 {
		display: block;
	}

	&.current-step-3 .page-3 {
		display: block;
	}

	&.current-step-4 .page-4 {
		display: block;
	}

	&.current-step-5 .page-5 {
		display: block;
	}

	.form {
		width: 620px;
		margin: 3rem auto;
	}

	.form-inline {
		.form-group {
			margin-bottom: 15px;
			position: relative;
			display: block;

			& > label {
				width: 100px;
				padding-right: 10px;
				position: relative;
				top: 2px;
				text-align: right;

				&.file-label {
					top: -110px;
				}
			}

			.ui-select-item {
				width: 422px;
				text-align: center; 
			}

			.form-control {
				width: 380px;
				text-align: center;
			}

			select.form-control {
				width: 424px;
				height: 48px;
				line-height: 48px;
				text-align-last:center;
			}

			& > p {
				font-size: .75rem;
				color: $blue_b;
				padding: 10px 80px 0 120px;
			}
		}


		.help-block {
			height: 28px;
			width: 28px;
			text-indent: -9999px;
			background: url(../images/svg/no-o.svg) center no-repeat;
			background-size: 100% auto;
			position: absolute;
			top: 4px;
			margin-left: 550px;

			&.valid {
				background-image: url(../images/svg/ok-o.svg);
			}
		}
	}

	.form-inline .checkbox-list .form-group > label {
		text-align: left;
	}

	.full-width {
		margin: 3rem 0;
	}



	.ui-file {


		& + .tooltip {
			width: 220px;
		}
	}

	.ok {
		text-align: center;

		img {
			display: block;
			margin: 5rem auto 3rem auto;
			width: 80px;
			height: 80px;
		}

		h2 {
			margin: 0 0 1rem;
			font-size: 1.25rem;
		}
	}

	.title {
		font-size: 1.25rem;
		font-weight: bold;
		margin: 1rem 0 2rem;
	}

	.btn-col {
		text-align: center;
		padding: 2rem 0 0;

		.btn {
			min-width: 160px;
			margin: 0 1rem;
			text-align: center;
			box-sizing: border-box;
		}

		.btn-default {
			border: 1px solid $blue	!important;
			background-color: #fff !important;
			color: $blue !important;
		}
	}
}

.checkbox-list {
	position: relative;
	margin: 2rem 0;
	padding: 1.5rem;
	border: 1px solid $blue_e;

	h3 {
		font-size: 1.1rem;
		font-weight: bold;
	}

	.item {
		margin: 0 0 1.5rem 0;

		& > .ui-checkbox {
			top: 3px;
			margin-right: 9px;
		}

		.open {
			display: block;

			span {
				padding-left: 9px;
				opacity: 0;
				color: $orange;
				font-size: .75rem;
				transition: opacity 0.3s linear;
			}
		}

		.inputs {
			display: block;
			height: 0px;
			padding: 0;
			overflow: hidden;
			transition: all 0.3s linear;

			& > label {
				padding-right: 12px;
			}

			.ui-checkbox {
				top: 3px;
				margin-right: 3px;
			}
		}

		&.has-open .open span {
			opacity: 1;
		}

		&.has-open .inputs {
			height: 22px;
			padding: 1rem 0 0;
		}

		.desc {
			display: block;
			margin: .5rem 0 0;
			font-size: .75rem;
			color: $blue_b;
		}
	}



	.small {
		font-size: .75rem;
		padding-left: 9px;
		color: $blue_b;
	}

	.hr {
		margin: 1.5rem 0;
	}

	label {
		margin-bottom: 0;
	}

	.right {
		float: right;

		.ui-checkbox {
			top: 3px;
			margin-right: 3px;
		}
	}
}

.result-list {
	.item {
		margin: 0 1rem 1rem 1rem;
		position: relative;
		padding-left: 120px;
		min-height: 40px;
		line-height: 40px;

		& > label {
			position: absolute;
			left: 0;
		}

		.ui-item {
			padding-right: 9px;

			.ui-checkbox {
				top: 3px;
				margin-right: 3px;
			}
		}
	}

	.btn-col {
		padding: 1rem 0;
		text-align: center;

		.btn-info {
			min-width: 120px;
			text-align: center;
		}
	}
}

.ui-form {
	@include miniForm();
}

.ui-create {
	.form {
		padding: 20px 0;
	}
	
	.hr {
		margin: 10px 0;
	}
	
	.form-group {
		width: 50%;
		box-sizing: border-box;
		min-width: 120px;
		position: relative;
		padding-top: 10px;
		padding-bottom: 10px;
		display: flex;
		flex-wrap: wrap;
		align-items: center;

		&.ui-filter--item {
			width: 100%;

			.ui-filter--content {
				flex: 1;
			}
		}
		
		.active-buttons {
			position: absolute;
			// left: 100%;
			width: 60px;
			top: 50%;
			height: 30px;
			margin: -15px 0 0 10px;
			
			span {
				cursor: pointer;
				float: left;
				margin: 5px 3px;
				
				.js-svg {
					height: 20px;
					width: 20px;
				}
			}
			
			.js-add {
				svg {
					fill: $blue;
				}
			}
			
			.js-remove {
				svg {
					fill: $blue_e;
				}
				
				&:hover {
					svg {
						fill: $blue_b;
					}
				}
			}
		}
	
		& > label {
			width: 65px;
			padding-right: 15px;
			margin: 0;
			text-align: right;
		}
		
		.has-error {
			& > label.t {
				padding-bottom: 0;
			}
			
			.ui-file {
				.help-block {
					left: 110%;
					position: absolute;
					bottom: 0;
					top: auto;
				}
			}
		}
		
		.has-success,
		.has-error {
			&.input-group .form-control  {
				border-radius: 0 3px 3px 0;
			}
			
			&.input-group.icon-on-right .form-control  {
				border-radius: 3px 0 0 3px;
			}
		}
		
		.input {
			flex: 1;
			// position: relative;
		}
		
		@include miniForm();
		
		&.no-padding-top {
			padding-top: 0;
			top: -3px;
		}
		
		&.no-padding {
			padding-top: 0;
			padding-bottom: 0;
			margin: 0 0 10px;
		}
		
		.left-side {
			max-width: 35%;
			padding-right: 10px;
		}
		
		input.w-55,
		.w-55 {
			width: 55%;
		}
		
		input.w-65,
		.w-65 {
			width: 65%;
		}
		
		input.w-50,
		.w-50 {
			width: 47.5%;
			float: left;
			
			&.right {
				margin-left: 5%;
			}
		}
		
		.w-100 {
			width: 100%;
		}
		
		.w-30 {
			width: 30%;
		}
		
		.text {
			position: relative;
			
			&:before {
				content: attr(data-text);
				position: absolute;
				right: 10px;
				top: 0;
				height: 30px;
				line-height: 30px;
			}

			input {
				padding-right: 50px;
			}
		}
		
		.edit-box {
			padding: 7px 0 0;
			
			.ui-checkbox-side {
				position: absolute;
				margin: -7px 0 0 5px;
			}
		}
		
		.ui-select-item {
			width: 100%;
		}
		
		&.loop-item {
			.help-block {
				margin-left: 45px;
			}
		}
		
		&.loop-item-latest {
			.help-block {
				margin-left: 70px;
			}
		}
		
		.help-block {
			font-size: 12px;
			display: none;
			margin: -15px 0 0 10px;
			left: 100%;
			position: absolute;
			top: 50%;
			height: 28px;
			line-height: 29px;
			padding: 0 9px;
			color: $orange;
			border: 1px solid $orange;
			background-color: #fff7f5;
			border-radius: 3px;
			
			&.valid {
				display: none !important;
			}
			
			&:after { 
				border: solid transparent; 
				content: " "; 
				height: 0; 
				width: 0; 
				position: absolute; 
				pointer-events: none; 
				border-color: rgba(0, 0, 0, 0); 
				border-right-color: $orange; 
				border-width: 6px; 
				left: -12px;
				top: 50%;
				margin: -6px 0 0;
			}
			
			&:before { 
				border-color: transparent #fff7f5 transparent transparent;
				border-style: solid;
				border-width: 5px;
				content: " ";
				height: 0;
				left: -9px;
				margin: -5px 0 0;
				pointer-events: none;
				position: absolute;
				top: 50%;
				width: 0;
				z-index: 9;
			}
			
			
		}
		
		.has-error {
			& + .tooltip,
			.tooltip {
				display: none !important;
			}
			
			.help-block {
				display: block;
			}
		}
	}
	
	.form-group-checkbox {
		padding-top: 10px;
		padding-bottom: 10px;
		
		& > label {
			margin-bottom: 5px;
		}
		
		.ui-checkbox-side {
			position: absolute;
			margin: -7px 0 0 10px;
		}
	}
	
	.form-group-tags {
		width: 100%;
		
		& > .tags {
			flex: 1;
		}
		
		.ui-checkbox2 {
			float: left;
		}

		.ui-checkbox2 label {
			border-radius: 18px;
			font-size: 16px;
			height: 36px;
			line-height: 36px;
			min-width: 60px;
			margin: 0;
		}
	}
	
	.clone-item {
		margin: 15px 0;
		padding: 15px 0;
		border-top: 1px dotted rgba(188, 196, 200, 0.75);
	}
	
	.clone-timer {
		position: relative;
		padding-bottom: 10px;
		
		.btn {
			right: -70px !important;
			top: 0;
			bottom: auto !important;
		}
	}

	.buttons {
		padding-left: 75px;
		padding-top: 10px;
		padding-bottom: 10px;

		.btn {
			text-align: center;
			padding: 0 10px;
			height: 30px;
		}
	}
	
	.btn-info-border {
		text-align: center;
		padding: 0 10px;
		height: 30px;
	}
	
	.loop-timer {
		/*
		position: relative;
		width: 50%;
		padding-right: 70px;
		
		.btn {
			position: absolute;
			right: 0;
			bottom: 10px;
			width: 60px;
			padding: 0;
			height: 30px;
			text-align: center;
		}
		
		.has-error + .btn {
			bottom: 30px;
		}
		
		.form-group {
			width: 100%;
			align-items: top;
		}
		*/
	}
	
	.submit-button {
		text-align: center;
		width:  100%;
		padding: 100px 0 30px;
		
		&.no-padding {
			padding-top: 0;
			top: -6px;
		}
		
		.btn {
			min-width: 120px;
			text-align: center;
			height: auto;
			padding: 1px 20px;
			font-size: 16px;
		}
	}
	
	.tooltip {
		top: 3px !important;
		min-width: 200px;
	}

	.step-buttons {
		padding: 100px 0 0;
	}
}

.ui-filter {
	&--item {

	}
}

.icon-css-plus {
	height: inherit;
	width: inherit;
	position: relative;

	&:after,
	&:before {
		height: 2px;
		width: 60%;
		left: 20%;
		top: 45%;
		background-color: $blue_e;
		position: absolute;
		content: '';
	}

	&:before {
		width: 2px;
		height: 60%;
		top: 20%;
		left: 48%;
	}
}

.icon-css-less {
	height: inherit;
	width: inherit;
	position: relative;

	&:before {
		height: 2px;
		width: 60%;
		left: 20%;
		top: 45%;
		background-color: $blue_e;
		position: absolute;
		content: '';
	}
}


.icon-css-yes {
	height: 24px;
	width: 24px;
	position: relative;
	display: inline-block;
	
	&:after, 
	&:before{
		content:''; 
		width: 3px; 
		display:block; 
		background: #fff; 
		position:absolute; 
		top: 0; 
		height: 90%;
		left: 60%;
		transform:rotate(45deg);
		-webkit-transform:rotate(45deg);
	}

	&:before{
		transform:rotate(-45deg);
		height: 40%;
		left: 18%;
		top: 40%;
	}
}

.icon-css-close {
	height: 24px;
	width: 24px;
	position: relative;
	display: inline-block;
	
	&:after, 
	&:before{
		content:''; 
		width:100%; 
		height:3px; 
		display:block; 
		position:absolute; 
		top: 45%;
		left:0;
		background: $blue_b; 
		transform:rotate(45deg);
		-webkit-transform:rotate(45deg);
	}

	&:before{
		width:3px;
		height:100%;
		left: 45%;
		top: 0;
	}
}


.input-num {
	display: inline-block;
	position: relative;
	padding: 0 29px;
	
	
	.icon-css-plus,
	.icon-css-less {
		height: 28px;
		width: 28px;
		position: absolute;
		left: 0;
		top: 0;
		border: 1px solid $blue_e;
		cursor: pointer;
	}
	
	&:hover,
	&.focus {
		input,
		.icon-css-less,
		.icon-css-plus {
			border-color: $blue;
		}
		
		.icon-css-less:before,
		.icon-css-plus:before,
		.icon-css-plus:after {
			background-color: $blue;
		}
	}
	
	.icon-css-plus {
		right: 0;
		left: auto;
	}
	
	input {
		background: #fff !important;
		width: 40px !important;
		text-align: center;
		padding-left: 0;
		padding-right: 0;
		border-radius: 0px;
		height: 30px;
	}
}

.ui-list {
	.filter {
		padding: 15px 0;
		display: flex;
		flex-wrap: wrap;
		align-content: flex-start;
		align-items: flex-start;
		justify-content: flex-start;

		.form-group {
			padding-top: 15px;
			padding-bottom: 15px;
			padding-right: 15px;
			width: 50%;
			box-sizing: border-box;
			display: flex;
			flex-wrap: wrap;
			align-content: flex-start;
			align-items: center;
			justify-content: flex-start;
			min-width: 120px;
			
			&:nth-child(even) {
				padding-left: 15px;
				padding-right: 0;
			}

			& > label {
				padding-right: 5px;
				position: relative;
				top: 2px;
				min-width: 60px;
				padding-right: 10px;
			}
			
			.input {
				flex: 1;
			}
			
			.buttons {
				min-width: 85px;
				text-align: right;

				.btn {
					width: 70px;
					text-align: center;
					padding: 0;
					height: 30px;
				}
			}
		}


		input {
			width: 100%;
			padding: 0 10px;
			height: 30px;
			box-sizing: border-box;
		}

		.ui-select-item {
			width: 100%;
		}

		.ui-select-item .ui-select {
			height: 32px;
			line-height: 30px;
			padding-left: 10px;
			padding-right: 10px;
		}
	}

	.list {
		border: 1px solid $blue_e;

		& > table {
			margin: 0;
		}

		.operating {
			padding-right: 0;
			padding-left: 10px;
			width: 160px;

			span {
				display: inline-block;
				cursor: pointer;
				padding: 0 15px;
				position: relative;

				&:before {
					position: absolute;
					left: 0;
					top: 0;
					height: 100%;
					width: 100%;
					z-index: 1;
				}

				.js-svg {
					display: inline-block;
					height: 20px;
					width: 20px;
					fill: $blue_b;
				}

				&:hover {
					svg {
						fill: $blue;
					}
				}
			}
		}

		&-info {
			padding: 30px 0;

			.pagenavi {
				float: right;
			}

			.svgs {
				float: left;
				position: relative;
				padding: 10px 0 0;

				span {
					float: left;
					margin-right: 30px;
					color: $blue;

					.js-svg {
						fill: $blue;
						height: 16px;
						width: 16px;
						position: relative;
						top: 2px;
						margin-right: 5px;
					}
				}
			}
		}
	}
}



.detailed-list {
	padding: 15px 0;
	
	li {
		margin: 15px 0;
		
		.ui-checkbox-side {
			position: absolute;
			margin: -7px 0 0;
		}
	}
}
/*
.ui-store-list {
	.filter {
		padding: 30px 0;

		.form-group {
			padding-right: 15px;

			& > label {
				padding-right: 5px;
				position: relative;
				top: 2px;
			}
		}

		.btn {
			width: 100px;
			text-align: center;
			float: right;
			position: relative;
			top: 1px;
		}

		input {
			width: 220px;
			padding: 1px 20px;
		}

		.ui-select-item {
			width: 180px;
		}

		.ui-select-item .ui-select {
			height: 38px;
			line-height: 36px;
		}
	}

	.list {
		border: 1px solid $blue_e;

		& > table {
			margin: 0;
		}

		.operating {
			padding-right: 0;
			padding-left: 10px;

			span {
				display: inline-block;
				cursor: pointer;
				padding: 0 15px;
				position: relative;

				&:before {
					position: absolute;
					left: 0;
					top: 0;
					height: 100%;
					width: 100%;
					z-index: 1;
				}

				.js-svg {
					display: inline-block;
					height: 20px;
					width: 20px;
					fill: $blue_b;
				}

				&:hover {
					svg {
						fill: $blue;
					}
				}
			}
		}

		&-info {
			padding: 30px 0;

			.pagenavi {
				float: right;
			}

			.svgs {
				float: left;
				position: relative;
				padding: 10px 0 0;

				span {
					float: left;
					margin-right: 30px;
					color: $blue;

					.js-svg {
						fill: $blue;
						height: 16px;
						width: 16px;
						position: relative;
						top: 2px;
						margin-right: 5px;
					}
				}
			}
		}
	}
}
*/

.pagenavi {
	.next,
	.prev {
		height: 36px;
		width: 36px;
		border: 1px solid $blue_e;
		position: relative;
		display: inline-block;
		border-radius: 4px;
		margin: 0;
		float: left;

		&:before {
			position: absolute;
			left: 0;
			top: 0;
			height: 100%;
			width: 100%;
			z-index: 1;
		}

		.arrow {
			position: static;
			margin: 0;
		}

		.js-svg {
			position: absolute;
			height: 14px;
			width: 14px;
			left: 50%;
			top: 50%;
			margin: -7px 0 0 -7px;
		}

		&:hover {
			border-color: $blue;

			.js-svg {
				fill: $blue;
			}
		}
	}

	.page-count {
		display: inline-block;
		position: relative;
		line-height: 38px;
		padding: 0 15px;
		float: left;
	}

	.form-control {
		display: inline-block;
		width: 60px;
		text-align: center;
		padding: 1px;
		float: left;
		margin: 0 15px;
	}

	.btn {
		float: left;
		background-color: #fff;
		border-color: $blue;
		color: $blue;
	}
}

/********* Footer */
.footer {

}





/********* Modules */
.ui-checkbox {
	height: 18px;
	width: 18px;
	overflow: hidden;
	position: relative;
	box-sizing: border-box;
	border: 1px solid $blue_e;
	display: inline-block;
	border-radius: 4px;

	label {
		position: absolute;
		padding: 0;
		left: 0;
		top: 0;
		height: 100%;
		width: 100%;
		opacity: 0;
		background: url(../images/svg/checked.svg) center center no-repeat;
	}

	input[type=checkbox] {
		opacity: 0;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 9;
		padding: 0;
		margin: 0;

		&:checked + label {
			opacity: 1;
		}
	}
}

.ui-checkbox1 {
	$size: 18px;
	height: $size;
	width: $size;
	overflow: hidden;
	position: relative;
	box-sizing: border-box;
	display: inline-block;

	label {
		position: absolute;
		padding: 0;
		left: 0;
		top: 0;
		height: $size - 2;
		width: $size - 2;
		border: 1px solid $blue_e;
		border-radius: 4px;
		min-height: $size - 2;
		white-space:nowrap;
	}

	input[type=checkbox] {
		opacity: 0;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 9;
		padding: 0;
		margin: 0;

		&:checked + label {
			opacity: 1;
			background: $blue url(../images/svg/checked-w.svg) center center no-repeat;
			border: 1px solid $blue;
		}
	}
}

.ui-checkbox2 {
	display: inline-block;
	padding: 3px;

	label {
		$size : 46px;
		height: $size;
		width: $size;
		line-height: $size;
		display: inline-block;
		font-size: 1rem;
		border-radius: $size + 4;
		min-width: 80px;
		text-align: center;
		padding: 0 20px;
		border: 2px solid $blue_e;
		cursor: pointer;
		color: $gray-light;

		&:hover {
			color: $blue;
			border-color: $blue;
		}
	}

	input[type=checkbox] {
		opacity: 0;
		position: absolute;
		z-index: -1;

		&:checked + label {
			border: 2px solid $blue;
			background-color: $blue;
			color: #fff;
		}
	}
}

.ui-checkbox3 {
	position: relative;

	label {
		cursor: pointer;

		&:before {
			content: '开启';
			color: $blue_2;
		}
	}

	input[type=checkbox] {
		opacity: 0;
		position: absolute;
		z-index: -1;

		&:checked + label {
			&:before {
				content: '关闭';
			}
		}
	}
}

.ui-checkbox4 {
	display: inline-block;
	margin: 0 5px 0 0;
	position: relative;

	&:hover span {
		background-color: $blue_e;
	}

	&:before {
		position: absolute;
		left: 0;
		top: 0;
		height: 100%;
		width: 100%;
		content: '';
		cursor: pointer;
		z-index: 9;
	}

	span {
		$size : 30px;
		padding: 0 6px;
		height: $size;
		line-height: $size;
		display: inline-block;
		color: $gray-light;
		white-space:nowrap;
	}

	input[type=checkbox],
	input[type=radio] {
		opacity: 0;
		position: absolute;
		z-index: -1;

		&:checked + span {
			background-color: $blue;
			color: #fff;
		}
	}
}

.ui-checkbox-side {
	position: relative;
	display: inline-block;
	height: 30px;
	font-size: 0;
	line-height: 0;
	width: 60px;

	label {
		cursor: pointer;
		box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.15) inset;
		background: $blue_e;
		height: 30px;
		width: 60px;
		border-radius: 15px;
		transition: all 0.2s linear;
		margin: 0;
		
		&:before {
			height: 28px;
			width: 28px;
			border-radius: 28px;
			box-shadow: 1px 1px 2px 0 rgba(0, 0, 0, 0.15);
			transition: all 0.2s linear;
			top: 1px;
			left: 1px;
			content: '';
			background: #fff;
			position: absolute;
			z-index: 9;
		}
		
		i {
			position: absolute;
			transform: scale(.8);
		}
		
		.icon-css-yes {
			left: 3px;
			top: 4px;
			
		}
		
		.icon-css-close {
			right: 4px;
			top: 3px;
		}
	}
	
	&.show-text {
		label:after {
			content: attr(data-text);
			position: absolute;
			left: 100%;
			top: 0;
			height: 32px;
			line-height: 32px;
			font-size: 12px;
			color: $blue_9;
			transition: all 0.2s linear;
			opacity: 0;
			width: 100px;
			padding-left: 10px;
		}
	}

	input[type=checkbox] {
		opacity: 0;
		position: absolute;
		z-index: -1;

		&:checked + label {
			background: $blue;
			box-shadow: 0 0 0 0 rgba(#000, 0) inset;
			
			&:before {
				left: 31px;
			}
			
			&:after {
				opacity: 1;
			}
		}
	}

	.tooltip {
		margin: -10px 0 0 40px;
	}
}



.ui-radio {
	height: 18px;
	overflow: hidden;
	position: relative;
	padding: 6px 0 6px 25px;
	line-height: 18px;
	margin: 0 15px 0 0;
	cursor: pointer;
	float: left;

	span:before {
		position: absolute;
		padding: 0;
		left: 0;
		top: 6px;
		height: 18px;
		width: 18px;
		border: 1px solid $blue_e;
		border-radius: 4px;
		min-height: 18px;
		content: '';
		box-sizing: border-box;
	}

	input {
		opacity: 0;
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 9;
		padding: 0;
		margin: 0;

		&:checked + span:before {
			opacity: 1;
			background: #fff url(../images/svg/checked.svg) center center no-repeat;
			border: 1px solid $blue;
		}
	}
}







.ui-file {
	width: 180px;
	height: 150px;
	position: relative;
	display: inline-block;
	
	&.avatar-file {
		width: 80px;
		height: 80px;
		
		img {
			opacity: 1;
			z-index: 1;
		}
		
		label:before {
			background-color: rgba($blue_7, .65);
			content: '';
			z-index: 2;
			position: absolute;
			left: 0;
			top: 0;
			height: 100%;
			width: 100%;
		}
		
		&.active {
			label:before {
				opacity: 0;
			}
		}
	}

	input {
		position: absolute;
		z-index: -1;
		width: 0;
		height: 0;
		opacity: 0;
	}

	label {
		position: absolute;
		left: 0;
		top: 0;
		height: 100%;
		width: 100%;
		z-index: 9;
		cursor: pointer;
		margin: 0;
		overflow: hidden;
		border-radius: 5px;
		background-color: $blue_9;
	}

	.css-icon {
		position: absolute;
		left: 50%;
		top: 50%;
		margin: -16px 0 0 -16px;
		opacity: 3;
	}
	
	.camera {
		position: absolute;
		left: 50%;
		top: 50%;
		margin: -12px 0 0 -12px;
		height: 24px;
		width: 24px;
		background: url(../images/svg/camera.svg) center center no-repeat;
		background-size: 100% auto;
		z-index: 3;
	}

	img {
		opacity: 0;
		position: absolute;
		left: 50%;
		top: 50%;
		max-height: 100%;
		max-width: 100%;
		transform: translate(-50%, -50%);
	}

	&.active {
		.camera,
		.css-icon {
			opacity: 0;
		}

		img {
			opacity: 1;
		}
	}
}

.ui-select-item {
	position: relative;
	display: inline-block;
	width: 400px;
	z-index: 101;

	&.show {
		z-index: 999;
	}

	.ui-select {
		display: inline-block;
		vertical-align: middle;
		-webkit-user-select: none;
		user-select: none;
		-webkit-tap-highlight-color: transparent;
		-webkit-touch-callout: none;
		border-radius: 4px;
		position: relative;
		padding: 0 20px;
		background: #fff;
		color: $gray;
		height: 48px;
		line-height: 46px;
		border: 1px solid $blue_e;
		cursor: pointer;
		text-decoration: none;
		white-space: nowrap;
		width: 100%;
		box-sizing: border-box;
		overflow: hidden;
		text-overflow: ellipsis;

		&:after {
			content: "";
			display: block;
			position: absolute;
			margin: auto;
			right: 10px;
			top: 50%;
			margin: -2px 0 0;
			height: 0;
			width: 0;
			border: 6px solid transparent;
			border-top-color: $blue_7;
		}

		&.active {
			border-color: $blue;
		}
	}

	select {
		position: absolute;
		left: -99999px;
		height: 0;
		width: 0;
		z-index: -9999;
		opacity: 0;
	}

	.options {
		border-radius: 4px;
		background: #fff;
		font-family: inherit;
		overflow: auto;
		max-height: 300px;
		border: 1px solid $blue_e;
		-webkit-overflow-scrolling: touch;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		display: none;
		padding: 5px 0;
		box-sizing: border-box;
		
		li {
			-webkit-tap-highlight-color: transparent;
			-webkit-touch-callout: none;
			position: relative;
			list-style: none;
			box-sizing: border-box;
			margin: 0;
			line-height: 1.35;
			padding: 6px 20px;
			display: block;
			cursor: pointer;
			white-space: nowrap;
			overflow: hidden;
			text-overflow: ellipsis;
			color: $blue_b;

			&:hover {
				background: $blue_e;
				color: $gray;
			}
		}
	}
}

.floor-item {
	
	&.floor-item-1 {
		hr {
			display: none;
		}
	}
	
	& > h2 {
		height: 32px;
		line-height: 32px;
		position: relative;
		font-weight: bold;
		padding: 0 0 10px;
		
		& > span {
			cursor: pointer;
			position: absolute;
			right: 0;
			top: 50%;
			margin: -9px 0 0;
		}
		
		svg {
			fill: $blue_9;
			
			&:hover {
				fill: $blue;
			}
		}
	}

	.room-list {
		display: flex;
		flex-wrap: wrap;
	}
	
	.room-item {
		margin: 0 20px 20px 0;
	}
}

.room-item {
	border-radius: 3px;
	border: 1px solid $blue_e;
	position: relative;
	width: 280px;
	min-height: 173px;
	padding: 10px;
	
	&:hover {
		.remove-room {
			display: block;
		}
	}
	
	.remove-room {
		position: absolute;
		height: 20px;
		width: 20px;
		border-radius: 20px;
		background: $blue_b;
		right: -9px;
		top: -9px;
		cursor: pointer;
		display: none;
		
		.icon-css-close {
			height: 12px;
			width: 12px;
			position: absolute;
			left: 50%;
			top: 50%;
			margin: -6px 0 0 -6px;
			
			&:after, 
			&:before {
				background: #fff;
				height: 2px;
			}

			&:before {
				width: 2px;
				height: 100%;
			}
		}
	}
	
	header {
		height: 32px;
		line-height: 32px;
		font-weight: bold;
		padding: 0 5px;
	}
	
	.input_name.form-control {
		width: 130px;
	}
	
	.input_quantity.form-control {
		width: 70px;
		text-align: center;
	}
	
	.edit-link {
		float: right;
		cursor: pointer;
		color: $blue_2;
		font-weight: normal;
		
		&:hover {
			color: $blue;
		}
	}
	
	
	.bad-list {
		display: block;
		
		span {
			float: left;
			width: 60px;
			height: 60px;
			margin: 5px;
			border-radius: 3px;
			font-size: 12px;
			text-align: center;
			line-height: 60px;
			color: $blue_b;
			background: $gray_f5;
		}
	}

}

.js-loading {
	position: relative;
	
	&:before {
		position: absolute;
		z-index: 999;
		left: 0;
		top: 0;
		height: 100%;
		width: 100%;
		background: rgba(#fff, .55);
		content: '';
	}
	
	&:after {
		position: absolute;
		z-index: 1001;
		left: 0;
		top: 0;
		height: 100%;
		width: 100%;
		background: url(../images/svg/loading.svg) center center no-repeat;
		background-size: 48px 48px;
		content: '';
	}
}


.modal.fade .modal-dialog.modal-dialog-style {
	transform: translate(0px, -100%);
}

.modal.in .modal-dialog.modal-dialog-style {
	transform: translate(0%, 50%);
}

#js-room-detailed .modal-dialog {
	width: 360px;
	
	ul {
		margin: 0 0 20px;
	
		li {
			margin: 0 0 10px;
		}
	}
}

.modal-dialog-style {

	.modal-header {
		background-color: #fff;
		border-radius: 3px 3px 0 0;
		padding: 15px 60px 15px 30px;
		border-bottom: 1px solid $blue_e;
		
		h2 {
			font-size: 16px;
		}
	}
	
	.modal-body {
		padding: 30px;
	}
}
/********* Enter & Content */
$margin : 30px;
.enter {

	& > :first-child {
		margin-top: 0;
	}
	
	p {
		margin: $margin * 0.5 0;
	}
	
	/*
	a {
		color: $gray;

		&:hover {
			color: $fontColor;
		}
	}
	*/

	h1,
	h2,
	h3,
	h4,
	h5 {
		margin: $margin * 0.5 0;
		font-weight: normal;
	}

	h2 {
		font-size: $medium_font;
	}

	.alignleft {
		float: left;
		margin: $margin $margin $margin 0;
	}
	
	.alignright {
		float: right;
		margin: $margin 0 $margin $margin;
	}
	
	blockquote {
		// color: #f8f8f8;
		margin: $margin * 0.5 $margin * 0.5 $margin * 0.5 0;
	}

	ul {
		margin: $margin * 0.5 0 $margin * 0.5 $margin * 0.5;
		
		li {
			list-style: disc outside none;
			margin: 0 0 0 .1em;
		}
	}
	
	ol {
		margin: $margin * 0.5 0 $margin * 0.5 3px;
		
		li {
			list-style: decimal outside none;
			margin: 5px 0 5px $margin * 0.5;
		}
	}
	
	img,
	object,
	iframe,
	input,
	textarea {
		max-width: 100%;
	}
	
	img {
		height: auto;
		max-width: 100%;
		vertical-align: inherit;
	}
}

.home-links {
	position: relative;
	padding: 30px;
	box-sizing: border-box;
	width: 100%;

	&-item {
		float: left;
		width: calc(25% - 15px);
		margin-left: 8px;
		margin-right: 7px;
		margin-bottom: 15px;
		height: 192px;
		border-radius: 8px;
		background-color: #fff;
		position: relative;
		box-sizing: border-box;
		border: 1px solid #fff;
		overflow: hidden;
		

		a {
			position: absolute;
			color: $gray;
			width: 100px;
			height: 100px;
			left: 50%;
			top: 50%;
			margin: -50px 0 0 -50px;
			// cursor: grab;

			&:before {
				position: absolute;
				left: -250px;
				top: -250px;
				width: 500px;
				height: 500px;
				content: '';
				background-color: transparent;
				z-index: 9;

			}
		}

		.js-svg {
			fill: $blue_7;
			width: 48px;
			height: 48px;
			margin: .35rem auto 0;
			display: block;
		}


		h2 {
			padding: 1rem 0;
			font-size: 1.1rem;
			text-align: center;
		}

		&.gu-mirror {
			background-color: $gray_f5;
			border: 1px solid $blue_e;
		}

		&:hover {
			background-color: $gray_f5;
			border: 1px solid $blue_e;

			a {
				color: $blue;
			}

			svg {
				fill: $blue;
			}
		}
	}
}

.js-next-steps {
	.page {
		display: none;
	}

	@for $i from 1 through 8 {
		&.current-step-#{$i} {
			.page.page-#{$i} {
				display: block;
			}
		}
	}
}


.step-buttons {
	$size: 46px;
	display: flex;
	max-width: 600px;


	ul {
		display: flex;
		justify-content:center;
		align-content:center;
		align-items: center;

		li {
			height: $size;
			width: $size;
			border-radius: $size;
			box-sizing: border-box;
			border: 2px solid $blue_b;
			line-height: $size - 4;
			text-align: center;
			margin-right: 15px;
			float: left;
			font-weight: bold;
			color: $blue_b;

			&.active {
				background-color: $blue;
				border-color: $blue;
				color: #fff;
			}
		}
	}

	.col {
		flex: 1;
		text-align: right;

		.btn {
			margin-left: 15px;
		}
	}
}

body .ui-create .btn-next,
.btn-next {
	height: 46px;
	line-height: 44px;
	text-align: center;
	position: relative;
	width: 120px;
	padding: 0;
	box-sizing: border-box;

	.js-svg {
		fill: $blue;
		position: absolute;
		left: 50%;
		top: 50%;
		margin: -12px 0 0 -12px;
		height: 24px;
		width: 24px;
	}

	&.btn-prev {
		.js-svg {
			transform: translate3d(0, 0, 0) rotate(-180deg);
		}
	}
}

.step-progress {
	$size: 26px;
	height: 80px;
	position: relative;

	&:after,
	&:before {
		left: 0;
		right: 0;
		top: 11px;
		height: 5px;
		background-color: $blue_e;
		position: absolute;
		content: '';
	}

	&:after {
		background-color: $blue;
		z-index: 3;
		right: auto;
		width: 0%;
	}

	@at-root {
		.current-step-1 & {
			&:after {
				width: 0%;
			}

			.step-progress-1 {
				background-color: $blue;
			}
		}

	
		.current-step-2 & {
			&:after {
				width: 33.33%;
			}

			.step-progress-1,
			.step-progress-2 {
				background-color: $blue;
			}
		}

		.current-step-3 & {
			&:after {
				width: 66.66%;
			}

			.step-progress-1,
			.step-progress-2,
			.step-progress-3 {
				background-color: $blue;
			}
		}

		.current-step-4 & {
			&:after {
				width: 100%;
			}

			.step-progress-1,
			.step-progress-2,
			.step-progress-3,
			.step-progress-4 {
				background-color: $blue;
			}
		}
	}


	& > div {
		height: $size;
		width: $size;
		line-height: $size;
		text-align: center;
		border-radius: $size;
		background-color: $blue_e;
		position: absolute;
		z-index: 9;

		label {
			font-size: 1.1rem;
			font-weight: bold;
			color: #fff;
		}

		p {
			position: absolute;
			top: 120%;
			width: 100px;
			left: 50%;
			margin-left: -50px;
		}
	}

	&-1 {
		left: 0;
	}

	&-2 {
		left: 33.33%;
		margin-left: -#{$size/2};
	}

	&-3 {
		left: 66.66%;
		margin-left: -#{$size/2};
	}

	&-4 {
		right: 0;
	}
}

.gu-mirror {
	position: fixed !important;
	margin: 0 !important;
	z-index: 9999 !important;
	opacity: 0.8;
}
.gu-hide {
	display: none !important;
}

.gu-unselectable {
	-webkit-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	user-select: none !important;
}

.gu-transit {
	opacity: 0;
}

.css-icon {
	position: relative;
	height: 32px;
	width: 32px;
	display: inline-block;

	&-plus {
		&:after,
		&:before {
			background-color: $blue_7;
			position: absolute;
			content: '';
			border-radius: 2px;
		}

		&:after {
			width: 100%;
			height: 4px;
			left: 0;
			top: 50%;
			margin: -2px 0 0;
		}

		&:before {
			width: 4px;
			height: 100%;
			left: 50%;
			top: 0;
			margin: 0 0 0 -2px;
		}
	}

	&-close {
		width: 28px;
		height: 28px;
		transform: translate3d(0, 0, 0) rotate(-45deg);
		cursor: pointer;

		&:hover {
			&:after,
			&:before {
				background-color: $blue;
			}
		}
	
		&:after,
		&:before {
			background-color: $blue_7;
			position: absolute;
			content: '';
			border-radius: 1px;
		}

		&:after {
			width: 100%;
			height: 2px;
			left: 0;
			top: 50%;
			margin: -1px 0 0;
		}

		&:before {
			width: 2px;
			height: 100%;
			left: 50%;
			top: 0;
			margin: 0 0 0 -1px;
		}
	}
}

@media only screen and (max-width: 1300px) {
	/*.header,
	.container {
		width: 1000px;
	}
	
	.home-links-item {
		width: 234px;
		height: 162px;
	}
	*/
}

@media only screen and (max-width: 1000px) {
}

@media only screen and (max-width: 700px) {
}


/* ===[ PLUGINS ]=== */
@import "bootstrap/icons";
@import "bootstrap/date";


/* ===[ PRINT ]=== */
@import "partials/print";







